package tbs.framework.auth.interfaces.impls;

import tbs.framework.auth.interfaces.token.IUserModelPicker;
import tbs.framework.auth.model.UserModel;

/**
 * @author abstergo
 */
public class NoUserModelPicker implements IUserModelPicker {

    public NoUserModelPicker() {
        throw new RuntimeException("NoUserModelPicker不能被实例化,请自定义UserModelPicker");
    }

    @Override
    public UserModel getUserModel(String token) {
        return null;
    }
}
